﻿
.login-root {
    z-index: 5000;
    display: flex;
    position: fixed;
    top: 0;
    width: 100%;
    height: 100%;
}

    .login-root.hidden {
        display: none;
    }

    .login-root .login-mask {
        position: fixed;
        top: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.6);
    }

    .login-root .login-content,
    .login-root .otp-wrapper {
        position: relative;
        z-index: 6000;
        width: 500px;
        height: auto;
        display: flex;
        flex-direction: column;
        margin: auto;
        background-color: #fff;
        border-radius: 10px;
        padding: 35px 25px;
        box-sizing: border-box;
        max-height: 100vh;
    }

@media (max-width: 550px) {
    .login-root .login-content {
        max-width: 100%;
        padding: 30px 25px;
        margin: auto auto 0;
        border-radius: 10px 10px 0 0;
    }
}

.login-root .login-content .wrapper {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

    .login-root .login-content .wrapper.hidden {
        display: none;
    }

.login-root .login-content .input-wrapper,
.login-root .otp-wrapper .input-wrapper {
    width: 100%;
    margin: 10px 0;
}

    .login-root .login-content .input-wrapper .input-title {
        color: #ea515d;
        font-size: 14px;
        line-height: 1.64;
        letter-spacing: 1.2px;
    }

    .login-root .otp-wrapper .input-wrapper .input-title {
        font-size: 14px;
        line-height: 1.64;
        letter-spacing: 1.2px;
    }

    .login-root .login-content .input-wrapper input,
    .login-root .otp-wrapper .input-wrapper input {
        width: 100%;
        height: 45px;
        background-color: #efefef;
        box-shadow: none;
        border-radius: 6px;
        box-sizing: border-box;
        border: 0;
        padding: 13px;
        font-size: 18px;
        -moz-appearance: none;
        -webkit-appearance: none;
        outline: none !important;
    }

        .login-root .login-content .input-wrapper input.warning,
        .login-root .otp-wrapper .input-wrapper input.warning {
            border: 2px solid #ea515d;
        }

.login-root .login-content .btn-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0 0 0;
    flex-wrap: wrap;
}

    .login-root .login-content .btn-row.alone {
        justify-content: center;
        border: none;
        padding: 100px 0 0 0;
    }

.login-root .login-content .btn,
.login-root .otp-wrapper .btn {
    width: calc((100% - 25px) / 2);
    height: 50px;
    border-radius: 5px;
    background-color: #64c0ba;
    outline: none;
    color: #fff;
    cursor: pointer;
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.26);
}

    .login-root .login-content .btn.opposite {
        background-color: #fff;
        color: #64c0ba;
    }

    .login-root .login-content .btn:disabled {
        cursor: not-allowed;
        background-color: #efefef;
        color: #a4a8ab;
    }

.login-root .login-content .title-row,
.login-root .otp-wrapper .title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 10px;
}

    .login-root .login-content .title-row .title,
    .login-root .otp-wrapper .title-row .title {
        font-size: 28px;
        font-weight: normal;
        margin: auto 0;
    }

@media (max-width: 550px) {
    .login-root .login-content .title-row .title {
        font-size: 24px;
    }
}

.login-root .login-content .title-row .close,
.login-root .otp-wrapper .title-row .close {
    font-size: 36px;
    color: #357c8e;
    margin: auto 0;
    cursor: pointer;
}

@media (max-width: 550px) {
    .login-root .login-content .title-row .close {
        font-size: 26px;
    }
}

.login-root .login-content .login-wrapper .login-info {
    display: inline-block;
    margin: 25px auto 0 auto;
    color: #ea515d;
    font-size: 18px;
}

.login-root .otp-wrapper .login-info {
    display: inline-block;
    margin: 25px auto 0 auto;
    color: #357c8e;
    font-size: 18px;
}

.login-root .otp-wrapper .reSend {
    margin-bottom: 25px;
}

.login-root .login-content .hint-wrapper {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    font-size: 18px;
    padding: 35px 25px;
    box-sizing: border-box;
    letter-spacing: 1.4px;
    line-height: 1.5;
    background-color: #ea515d;
    color: #fff;
    border-radius: 0 0 10px 10px;
}

.login-root .hidden {
    display: none;
}

.hit-link-cursor {
    cursor: pointer;
    color: #ea515d !important;
}

@media (max-width: 550px) {
    .login-root .login-content .hint-wrapper {
        font-size: 16px;
        padding: 30px 25px;
        border-radius: 0;
    }
}
.otp-wrapper .hint-container .hint-link {
    text-decoration: none;
}
    .otp-wrapper .hint-container .hint-link.min {
        color: #ea515d;
    }
    .otp-wrapper .hint-container .hint-link.sec {
        color: #cfcfcf;
    }

.showExpireTime {
    font-size: large;
    color: white;
    padding-right: 10px;
}

.otp-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}